package com.wl.jetpackdemo.base.db

import androidx.room.Database
import androidx.room.RoomDatabase
import com.wl.jetpackdemo.base.db.user.User
import com.wl.jetpackdemo.base.db.user.UserDao

/**
 *
 * Created by wangliang on 2021/1/29.
 */
@Database(entities = [User::class], version = 2)
abstract class AppDatabase : RoomDatabase() {
    abstract fun userDao(): UserDao
}